//
//  UILabel+DH.h
//  DCProject
//
//  Created by Apple on 2020/10/13.
//  Copyright © 2020 bigbing. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

//typedef UILabel * _Nonnull(^DHLabelNSStringBlock)(NSString * str);
//typedef UILabel * _Nonnull(^DHLabelCGFloatBlock)(CGFloat f);
//typedef UILabel * _Nonnull(^DHLabelNSIntegerBlock)(NSInteger intValue);
//typedef UILabel * _Nonnull(^DHLabelColorBlock)(UIColor * color);
//typedef UILabel * _Nonnull(^DHLabelFontBlock)(UIFont * font);
//typedef UILabel * _Nonnull(^DHLabelNSTextAlignmentBlock)(NSTextAlignment textAlignment);
//typedef UILabel * _Nonnull(^DHLabelBOOLBlock)(BOOL boolValue);

@interface UILabel (DH)


//行高
@property (nonatomic,assign) CGFloat dc_lineHeight;
@property (nonatomic,strong) NSString * dc_text;

//#pragma mark =====简化设置=====
//@property (nonatomic,copy) DHLabelNSStringBlock dc_textString;
//@property (nonatomic,copy) DHLabelCGFloatBlock dc_rowHeight;//等同dc_lineHeight
//@property (nonatomic,copy) DHLabelColorBlock dc_textColor;
//@property (nonatomic,copy) DHLabelNSStringBlock dc_textColorHex;
//@property (nonatomic,copy) DHLabelFontBlock dc_font;
//@property (nonatomic,copy) DHLabelCGFloatBlock dc_fontSize;
//@property (nonatomic,copy) DHLabelCGFloatBlock dc_fontSizeMedium;
//@property (nonatomic,copy) DHLabelCGFloatBlock dc_fontSizeSemibold;
//@property (nonatomic,copy) DHLabelCGFloatBlock dc_fontSizeBold;
//@property (nonatomic,copy) DHLabelNSTextAlignmentBlock dc_textAlignment;
//@property (nonatomic,copy) DHLabelNSIntegerBlock dc_numberOfLines;
////是否可以触发手势
//@property (nonatomic,copy) DHLabelBOOLBlock dc_userInteractionEnabled;
//
//+ (UILabel *)dc_init;


@end

NS_ASSUME_NONNULL_END
